package com.consult.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.consult.config.dto.LoginDto;
import com.consult.entity.Visitor;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-06-22
 */
public interface IVisitorService extends IService<Visitor> {

    LoginDto getByUserName(String name);

    Page<Visitor> getVisitorPage(Page<Visitor> page);
}
